package o;

import android.content.res.ColorStateList;
import android.view.View;
import com.google.android.material.navigation.NavigationView;
import java.lang.ref.WeakReference;

public class o extends SkinAttr {

    static final class e extends fkz<SkinAttr, ColorStateList> {
        private WeakReference<NavigationView> ˊ;

        public /* synthetic */ void ॱ(Object obj) {
            ˋ((ColorStateList) obj);
        }

        private e(NavigationView navigationView) {
            this.ˊ = new WeakReference(navigationView);
        }

        public void ˋ(ColorStateList colorStateList) {
            NavigationView navigationView = (NavigationView) this.ˊ.get();
            if (navigationView != null) {
                navigationView.setItemIconTintList(colorStateList);
            }
        }
    }

    public o() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof NavigationView) {
            NavigationView navigationView = (NavigationView) view;
            if ("color_state_list".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
                this.ʽ = "color_state_list";
                fks.ˎ(view.getContext(), this, new e(navigationView)).ॱ(z);
            }
        }
    }
}
